package com.lzy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("teacher")
@ApiModel(value="Teacher对象", description="")
@NoArgsConstructor
@AllArgsConstructor
public class Teacher implements Serializable {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "老师名字")
    @TableField("t_name")
    private String tName;

    @ApiModelProperty(value = "老师手机号码")
    @TableField("t_phone")
    private String tPhone;

    @ApiModelProperty(value = "老师年龄")
    @TableField("t_age")
    private String tAge;

    @ApiModelProperty(value = "老师性别")
    @TableField("t_sex")
    private Integer tSex;

    @ApiModelProperty(value = "关联班级id")
    @TableField("c_id")
    private Integer cId;

    @ApiModelProperty(value = "老师编号")
    @TableField("t_num")
    private String tNum;

    @ApiModelProperty(value = "老师学历")
    @TableField("degree")
    private String degree;


}
